package cn.yhbk.web.modules.manager.Service.Impl;

import cn.yhbk.web.modules.manager.Pojo.Entity.TbGrade;
import cn.yhbk.web.modules.manager.Mapper.TbGradeMapper;
import cn.yhbk.web.modules.manager.Service.ITbGradeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 年级表 服务实现类
 * </p>
 *
 * @author 有何不可
 * @since 2023-08-05
 */
@Service
public class TbGradeServiceImpl extends ServiceImpl<TbGradeMapper, TbGrade> implements ITbGradeService {

    @Autowired
    private TbGradeMapper tbGradeMapper;

    @Override
    public List<TbGrade> getGradeAll() {
        return tbGradeMapper.getGradeAll();
    }

}
